import { ajax } from "../axios"

export default {
  upload (params) {
    console.log("params", params)
    return ajax("/obs/fileupload", params, "POST", true)//true 为formdata 格式
  },
  jpgUpload (params) {
    return ajax("/obs/jpgupload", params, "POST", true)
  },
  obsAdd (params) {
    return ajax("/obs/add", params, "POST")
  }
}
